• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

리엑트를 다루는 기술

[리엑트를 다루는 기술] Chapter 03 : 컴포넌트

클래스형 컴포넌트 props 값은 부모 컴포넌트에서 설정(조작)한다. (자식)컴포넌트에서 props를 name으로 설정할려면 ⇒ {props.name} 이라 하면된다. props를 지정하는 방법에는 여러 방법이 있다 그럼 (부모)컴포넌트에서 name = '값' 으로 props 값을 지정하면 (자식) 컴포넌트의 props.name 의 값이 결정된다 자식 컴포넌트 안에 (자식)컴포넌트에서 {pr...

리엑트를 다루는 기술리엑트를 다루는 기술

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more